package dongshi.daddy.huohuo.lombok;

import lombok.*;
import lombok.extern.slf4j.Slf4j;

@ToString
// @NoArgsConstructor
@AllArgsConstructor
@Slf4j
@Builder
@Getter
@Setter
public class LombokBean {
    private int age;
    private String name;

    // 测试log
    public void logMe() {
        // 生成的代码为：
        // private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LombokBean.class)
        log.info(this.name + "log me!!!");
    }
}
